// Copyright 2012 Google Inc. All Rights Reserved.

package com.google.appengine.syncserver.endpoint;

/**
 * Class the defines the server response.
 */
public class Response {

  private String responseStr = null;

  private boolean internalServerError = false;

  private boolean conflict = false;

  public Response() {
  }

  /**
   * @return the responseStr
   */
  public String getResponseStr() {
    return responseStr;
  }

  /**
   * @param responseStr the responseStr to set
   */
  public void setResponseStr(String responseStr) {
    this.responseStr = responseStr;
  }

  /**
   * @return the internalServerError
   */
  public boolean getInternalServerError() {
    return internalServerError;
  }

  /**
   * @param internalServerError the internalServerError to set
   */
  public void setInternalServerError(boolean internalServerError) {
    this.internalServerError = internalServerError;
  }

  /**
   * @return the conflict
   */
  public boolean getConflict() {
    return conflict;
  }

  /**
   * @param conflict the conflict to set
   */
  public void setConflict(boolean conflict) {
    this.conflict = conflict;
  }
}
